package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderVisitorDao;
import com.bdzl.biz.service.OrderVisitorService;
import com.bdzl.pub.entity.loan.OrderVisitorDO;
import com.bdzl.pub.vo.loan.OrderVisitorVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class OrderVisitorServiceImpl implements OrderVisitorService {
	@Autowired
	private OrderVisitorDao orderVisitorDao;

	@Override
	public OrderVisitorDO get(Integer visitorId){
		return orderVisitorDao.get(visitorId);
	}

	@Override
	public List<OrderVisitorDO> list(Map<String, Object> map){
		return orderVisitorDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderVisitorDao.count(map);
	}

	@Override
	public int save(OrderVisitorDO orderVisitor){
		return orderVisitorDao.save(orderVisitor);
	}

	@Override
	public int update(OrderVisitorDO orderVisitor){
		return orderVisitorDao.update(orderVisitor);
	}

	@Override
	public int remove(Integer visitorId){
		return orderVisitorDao.remove(visitorId);
	}

	@Override
	public int batchRemove(Integer[] visitorIds){
		return orderVisitorDao.batchRemove(visitorIds);
	}

	@Override
	public OrderVisitorVO getByOdrNo(String odrNo) {
		return orderVisitorDao.getByOdrNo(odrNo);
	}

}
